<template>
  <div class="F01">
   <el-dialog
  title="权限过期提醒"
  :visible.sync="dialogVisible"
  width="23%"
  :show-close="false"
  >
  <span class="f-s-18 " style="color: #306fcf">您的权限已经过期,请重新登录!</span>
  <span slot="footer" class="dialog-footer">
    
    <el-button type="danger" @click="continueClick">确 定</el-button>
  </span>
</el-dialog>

      
  </div>
</template>

<script>
import router from '../router/index'
export default {
    name:'F01',
    data(){
        return{
            dialogVisible:true,
        }
    },
    components:{  },
    methods:{
        continueClick(){
            this.dialogVisible = false;
                        // 重新登录
            localStorage.clear()
            sessionStorage.clear()
            router.replace({
                path: '/login'
            })
          //  setTimeout(()=>{
          //     this.dialogVisible = true;
          //  },500)
        }
    },
}
</script>

<style>

</style>